Skip to contentSkip to conversation

lockup during gameplay of Batman series of games

Bug 97166 [email protected] 1 participant 15 messages Aug 1, 2016 – Dec 8, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=97166

Bug ID: 97166
Summary: lockup during gameplay of Batman series of games
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

The games in question are:
Batman Arkham Asylum GotY Edition
Batman Arkham City GotY Edition
Batman Arkham Origins

The lockups are kind of random but happen not long after playing one of the games.
I have tried the nine tracker and CSMT with opengl. Both exhibit the problem. I tried different kernel versions and also the andgpu-pro module and the lockup always happens.
The lockups dont happen with Catalyst 15.12 and wine CSMT.

There is never anything in dmesg or the X.org log.

Hardware is:
001:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Amethyst XT [Radeon R9 M295X Mac Edition] [1002:6938] (rev f1)
Subsystem: PC Partner Limited / Sapphire Technology Amethyst XT [Radeon
R9 M295X Mac Edition] [174b:e308]
Kernel driver in use: amdgpu

I am using LLVM git and Mesa git.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

--- Comment #2 from smoki <[email protected]> ---

Mobile Tonga it seems.

@farmboy0

Does lockups happens with regular wine?

I remember cases when Catalyst can lockup using wine-csmt too... just a note
that wine-csmt isn't perfect always so check regular wine too.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

--- Comment #3 from Vedran Miletić <[email protected]> --- (In reply to smoki from comment #2)

Quoted 1 line

Mobile Tonga it seems.

Desktop and mobile chip have the same PCI ID, that's why I ask [1]. I might be able to test Batman on my 380X to confirm the issue.

[1] https://pci-ids.ucw.cz/read/PC/1002/6938

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

--- Comment #4 from smoki <[email protected]> ---

At least AMD listing 00, F0, F1 revs... so pci-ids project might try to
differinate descriptions somehow by revs too:

http://developer.amd.com/resources/ati-catalyst-pc-vendor-id-1002-li/

For the bug, i suspect it is one of those "as soon as threading is pushed
lockup happens" ;)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

--- Comment #5 from [email protected] --- This is a desktop Sapphire 380X.

I'll try with normal wine, I *think* I tried that already and it also locked up but Ill test again to be sure.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

--- Comment #6 from [email protected] --- Yep , also locking up with normal wine.

To test just run the benchmark. It will lock up there and in the normal game.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

--- Comment #7 from Vedran Miletić <[email protected]> --- (In reply to farmboy0+freedesktop from comment #6)

Quoted 3 lines

Yep , also locking up with normal wine.

To test just run the benchmark. It will lock up there and in the normal game.

How much hassle is to get Batman working? Is it more than wine Steam.exe, Install Batman, Play? If not, I could try it tomorrow.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

--- Comment #8 from [email protected] --- I *think* you need DotNet installed in your prefix. My Steam install resides there at least.
Otherwise yeah Install and play should suffice. You might want to remove the intro movies they are annyoing. Instructions can be found in the PC Gaming Wiki.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

--- Comment #9 from [email protected] ---
I'm going to attach part of a journalctl log of the hang/crash. This is an Arch Linux host using the regular 'linux' Arch Linux kernel (version 4.7), Mesa 12.0.1, and Wine 1.9.17 (no matter if I use -staging or -gaming-nine) with a Sapphire R9 280X 3GB GDDR5 OC DUAL-X GPU.

A video of the crash as it happens:
http://nanosector.ddns.net:9090/BGLL0XLY/file_309.mp4
Note that I don't know how long that video will be up for.

I've tried mesa-git to see if that eliminates the issue, but it behaves in the same manner.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

--- Comment #10 from [email protected] ---
Created attachment 125998
--> https://bugs.freedesktop.org/attachment.cgi?id=125998&action=edit
Journalctl log of the crash

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

--- Comment #11 from [email protected] --- Created attachment 126123
--> https://bugs.freedesktop.org/attachment.cgi?id=126123&action=edit
ddebug info

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

Vedran Miletić <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #125998|text/x-log                  |text/plain
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

--- Comment #12 from [email protected] --- Looks like this patch fixes the problem:
https://lists.freedesktop.org/archives/mesa-dev/2016-December/137213.html

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=97166

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #13 from Marek Olšák <[email protected]> --- GPU hangs in Batman Arkham: Origins were fixed by this commit:

https://cgit.freedesktop.org/mesa/mesa/commit/?id=6dc96de303290e8d1fc294da478c4f370be98dea

Closing.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel